﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Manager.aspx.cs" Inherits="tPlat.Manager" StyleSheetTheme="index" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>HotelSystem - RoomManager</title>
</head>
<body>
    <form id="mainForm" runat="server" title="main" visible="True">
    <asp:Panel ID="userPanel" runat="server" Height="209px" BorderStyle="None" 
        style="margin-left: 4px; margin-top: 5px" Width="930px">
        <div ID="menuDiv" >
            <asp:TreeView ID="tvMenu" runat="server" Height="190px" ImageSet="Simple" 
                NodeIndent="10" Width="172px" BorderStyle="Dotted" BorderWidth="1px" 
                onselectednodechanged="tvMenu_SelectedNodeChanged">
                <ParentNodeStyle Font-Bold="False" />
                <HoverNodeStyle Font-Underline="True" ForeColor="#DD5555" />
                <SelectedNodeStyle Font-Underline="True" ForeColor="#DD5555" 
                    HorizontalPadding="0px" VerticalPadding="0px" />
                <Nodes>
                    <asp:TreeNode Text="Pokoje" Value="rooms">
                        <asp:TreeNode Text="Pokaż wszystkie" Value="rooms.SelectAll"></asp:TreeNode>
                        <asp:TreeNode Text="Pokaż wolne" Value="rooms.SelectFree"></asp:TreeNode>
                        <asp:TreeNode Text="Zarezerwuj" Value="rooms.Book"></asp:TreeNode>
                        <asp:TreeNode Text="Anuluj rezerwację" Value="rooms.Cancel"></asp:TreeNode>
                        <asp:TreeNode Text="Zarządzaj" Value="rooms.Manage"></asp:TreeNode>
                    </asp:TreeNode>
                    <asp:TreeNode Text="Użytkownicy" Value="users">
                        <asp:TreeNode Text="Pokaż użytkowników" Value="users.SelectAll">
                        </asp:TreeNode>
                        <asp:TreeNode Text="Zarządzaj" Value="users.Manage"></asp:TreeNode>
                    </asp:TreeNode>
                </Nodes>
                <NodeStyle Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" 
                    HorizontalPadding="0px" NodeSpacing="0px" VerticalPadding="0px" />
            </asp:TreeView>
        </div>
    </asp:Panel>
    <asp:Button ID="btLogout" runat="server" onclick="btLogout_Click" 
        Text="Wyloguj" />
    </form>
    </body>
</html>
